package com.sheyu.mall.product.dao.attr;

import com.sheyu.mall.product.entity.attr.AttrGroupEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 属性分组
 *
 * @author sheyu
 * @email sheyu@XXX.com
 * @date 2020-07-27 12:44:31
 */
@Mapper
public interface AttrGroupDao extends BaseMapper<AttrGroupEntity> {

    List<AttrGroupEntity> selectByCatelogIdBySQL(@Param("catelogId") Long catelogId);

    List<Long> joinCatelogAndAttrGroup(@Param("catelogId") Long catelogId);
}
